//
//  UIImage+Resize.h
//  THD
//
//  Created by CA on 14-5-16.
//  Copyright (c) 2014年 CA. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Resize)


- (UIImage *)resizedImageWithBounds:(CGSize)bounds;
// 对图片进行压缩
- (NSData *)compressToData;

//颜色转换成图片(带圆角的)
+ (UIImage *)imageWithColor:(UIColor *)color redius:(CGFloat)redius size:(CGSize)size;
//将图片截成圆形图片
+ (UIImage *)imagewithImage:(UIImage *)image;

@end
